﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Coldairarrow.Entity.DTO
{
    /// <summary>
    /// 大屏显示7日发货量
    /// </summary>
    public class PB_TransportBill7DaySend
    {
        /// <summary>
        /// 柱体标识
        /// </summary>
        public List<string> categories { get; set; } = new List<string> { "一","二","三","四","五","六","七"};
        /// <summary>
        /// 数据项
        /// </summary>
        public List<PB_TransportBill7DayDataDTO> series { get; set; } = new List<PB_TransportBill7DayDataDTO> { new PB_TransportBill7DayDataDTO() };

        public string name
        {
            set { series[0].name = value; }
        }
    }
    /// <summary>
    /// 大屏显示7日发货量数据项
    /// </summary>
    public class PB_TransportBill7DayDataDTO
    {
        public string name { get; set; } = "发货数量";
        public List<double> data { get; set; } = new List<double>();
    }

    /// <summary>
    /// 前7日发货数量数据枚举
    /// </summary>
    public class PB_TransportBillGrpDayDTO
    {
        /// <summary>
        /// 日期
        /// </summary>
        public string CreateTime { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public double Value { get; set; }
    }
}
